package schedulo.core.task;

public class ParseMessage {

	public static final int SEVERITY_ERROR = 1;

	public static final int SEVERITY_WARNING = 2;

	public static final int SEVERITY_INFO = 3;

	public int lineNumber;

	public String line;

	public int errorAtCharacter;

	public String message;

	public int severity;

	public String toString() {
		String str = "";// = "[line: " + lineNumber + "] " + message + "\n";
		str += "  " + line + "\n  ";
		for (int i = 0; i < errorAtCharacter; i++) {
			str += " ";
		}
		str += "^error: " + message + "\n";
		return str;
	}
}
